#!/bin/bash
systemctl stop atd kdump nis-domainname
dnf remove -y postfix at audit kexec-tools firewalld-* *-firmware unbound-libs 

dnf install -y rsync tree bash-completion lrzsz tar iptables patch ipset time

echo 'ListenAddress 0.0.0.0' >>/etc/ssh/sshd_config
sed -ri 's,^(OPTIONS).*,\1="-4u chrony",' /etc/sysconfig/chronyd
sed 's,^manage_etc_hosts:.*,# &,' -i /etc/cloud/cloud.cfg

dnf clean all
reboot